#ifndef __ENEMY_MANAGER_H__
#define __ENEMY_MANAGER_H__

#include "cocos2d.h"
#include "Enemy.h"
#include "Enemy1.h"

using namespace cocos2d;

typedef enum {
	ENEMY_TYPE_1,
	ENEMY_TYPE_2,
	ENEMY_TYPE_3,
	NUM_OF_ENEMY_TYPE,
	BOSS1,
} EEnemyType;

class EnemyManager
{
public:
	EnemyManager(cocos2d::CCLayer* layer);
	~EnemyManager(void);
	
	//bool spawn(EEnemyType type, int pos/*0-100*/);
	bool spawn(EEnemyType type, CCPoint pos);
	
	CCArray* getEnemys() {return _enemys;}
	void removeEnemy(Enemy* enemy);

private:
	CCArray* _enemys;
	CCLayer* _layer;
	CCSize _winSize;
};

#endif // __ENEMY_MANAGER_H__

